package top.chmin.project.cloud.builder.config.info.auto;


import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RestController;
import top.chmin.project.cloud.common.entity.Page;

import java.util.List;

/**
 * chmin
 * 2023-12-23 11:37:15
 * cloud-builder
 */
@RestController
public class ConfigInfoController implements
    ConfigInfoSave,
    ConfigInfoUpdateById,
    ConfigInfoDeleteById,
    ConfigInfoSelectById,
        ConfigInfoSelectPage,
        ConfigInfoSelect

{

    @Resource
    ConfigInfoService service;

    @Override
    public int save(ConfigInfoSave.Param param) {
        return service.save(param);
    }

    @Override
    public int updateById(ConfigInfoUpdateById.Param param) {
        return service.updateById(param);
    }

    @Override
    public int deleteById(ConfigInfoDeleteById.Param param) {
        return service.deleteById(param);
    }

    @Override
    public ConfigInfoSelectById.Result selectById(ConfigInfoSelectById.Param param) {
        return service.selectById(param);
    }

    @Override
    public Page<ConfigInfoSelectPage.Result> selectPage(ConfigInfoSelectPage.Param param) {
        return service.selectPage(param);
    }
    @Override
    public List<ConfigInfoSelect.Result> select(ConfigInfoSelect.Param param) {
        return service.select(param);
    }

}
